package org.wtframework.platform.web.mvc.action.impl;


import java.io.File;
import java.io.IOException;
import java.nio.charset.Charset;
import java.util.List;

import javax.annotation.PostConstruct;
import javax.servlet.http.HttpServletRequest;

import org.openredhead.springx.core.server.annotation.Property;
import org.openredhead.springx.core.server.manager.impl.ResetPasswordManager;
import org.openredhead.springx.core.server.service.Encrypts;
import org.openredhead.springx.core.server.service.Exceptions;
import org.openredhead.springx.core.server.service.Mails;
import org.openredhead.springx.core.web.mvc.support.ActionValueAssistant;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Controller;
import org.springframework.ui.ModelMap;
import org.springframework.web.bind.annotation.RequestMapping;
import org.wtframework.platform.server.util.HttpRequestDeviceUtils;
import org.wtframework.platform.server.util.WebFileUtil;

import com.google.common.io.Files;

@Controller
public class IndexActionController {
	
	
	@RequestMapping("/")
	public String defalut(HttpServletRequest request, ModelMap modelMap,ActionValueAssistant actionValueAssistant){
		
		
		return "redirect:/back/index";
	}
	
	
	@RequestMapping("/index")
	public String index(HttpServletRequest request, ModelMap modelMap,ActionValueAssistant actionValueAssistant) {
	
		
		return "redirect:/back/index";
	}

}
